﻿using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MRSite.AutoMapper
{
    public class AutoMapperConfiguration : IAutoMapperConfiguration
    {
        public List<Action<IMapperConfigurationExpression>> ConfigActions { get; }

        public bool IsStaticMapper { get; set; }

        public AutoMapperConfiguration()
        {
            IsStaticMapper = true; //auto新版本不支持静态IMapper

            ConfigActions = new List<Action<IMapperConfigurationExpression>>();
        }
    }
}
